package com.yunshang.shoppingmall.service;

import com.yunshang.shoppingmall.entity.Collect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectService {

    int deleteByPrimaryKey(Integer collectId);

    int insert(Collect record);

    int insertSelective(Collect record);

    Collect selectByPrimaryKey(Integer collectId);

    int updateByPrimaryKeySelective(Collect record);

    int updateByPrimaryKey(Collect record);

    List<Collect> selectAllByUserNoId(int userNoId);

    List<Collect> selectByUserNoIdAndProId(@Param("userNoId") int userNoId, @Param("proId") int proId);
}
